package com.ywgt.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixFeignService{
    @Override
    public String paymentInfo(Integer id) {
        return "---------paymentInfo------>fallback方法";
    }

    @Override
    public String timeout(Integer id) {
        return "----------timeout----->fallback方法";
    }
}
